package index;
//javaBean 类
public class Student {
    //属性
    //名字
    String name;
    //年龄
    int age;
    //性别
    String gender;
    //特征  方法

    public  void study(){
        System.out.println("i having studying");
    }
    public  void playGame(){
        System.out.println("打亡者农药!");
    }
    public void sleep(){
        System.out.println("sleeping");
    }


}
